<template>
   <div>
    
      <div >{{p}}</div>
    
   </div>
</template>
<script setup>
 import {ref} from 'vue'

 let p=await new Promise((resolve,reject)=>{
    setTimeout(() => {
        resolve("hello")
    }, 3000);
 })

</script>